package com.ims.core.bas.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ims.common.annotation.Excel;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 店铺对象 bas_shop
 *
 * @author IMS
 * @date 2024-03-19
 */
public class BasShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺ID */
    private Long shopid;

    /** 公司代码 */
    private String companycode;

    /** 公司 */
    @Excel(name = "公司")
    private String companyname;

    /** 仓库 */
    private String stockname;

    /** 仓库代码 */
    @Excel(name = "仓库代码")
    private String stockcode;

    /** 店铺代码 */
    @Excel(name = "店铺代码")
    private String shopcode;

    /** 店铺类型 */
    @Excel(name = "店铺类型")
    private Long shoptype;

    /** 渠道代码 */
    @Excel(name = "渠道代码")
    private String channelcode;

    /** 店铺 */
    @Excel(name = "店铺")
    private String shopname;

    /** 省ID */
    private String provinceid;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市ID */
    private String cityid;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区ID */
    private String areaid;

    /** 区 */
    @Excel(name = "区")
    private String area;

    /** 地址 */
    private String address;

    /** 联系人 */
    private String contact;

    /** 寄件人电话 */
    private String sendcontacttel;

    /** 寄件人手机 */
    private String mobileno;

    /** 寄件人邮编 */
    private String fax;

    /** 邮箱 */
    private String email;

    /** 店铺状态 */
    @Excel(name = "店铺状态")
    private Long status;

    /** 添加人 */
    private String addcname;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date adddatetime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifycname;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifydatetime;

    public void setShopid(Long shopid)
    {
        this.shopid = shopid;
    }

    public Long getShopid()
    {
        return shopid;
    }
    public void setCompanycode(String companycode)
    {
        this.companycode = companycode;
    }

    public String getCompanycode()
    {
        return companycode;
    }
    public void setCompanyname(String companyname)
    {
        this.companyname = companyname;
    }

    public String getCompanyname()
    {
        return companyname;
    }
    public void setStockname(String stockname)
    {
        this.stockname = stockname;
    }

    public String getStockname()
    {
        return stockname;
    }
    public void setStockcode(String stockcode)
    {
        this.stockcode = stockcode;
    }

    public String getStockcode()
    {
        return stockcode;
    }
    public void setShopcode(String shopcode)
    {
        this.shopcode = shopcode;
    }

    public String getShopcode()
    {
        return shopcode;
    }
    public void setShoptype(Long shoptype)
    {
        this.shoptype = shoptype;
    }

    public Long getShoptype()
    {
        return shoptype;
    }
    public void setChannelcode(String channelcode)
    {
        this.channelcode = channelcode;
    }

    public String getChannelcode()
    {
        return channelcode;
    }
    public void setShopname(String shopname)
    {
        this.shopname = shopname;
    }

    public String getShopname()
    {
        return shopname;
    }
    public void setProvinceid(String provinceid)
    {
        this.provinceid = provinceid;
    }

    public String getProvinceid()
    {
        return provinceid;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCityid(String cityid)
    {
        this.cityid = cityid;
    }

    public String getCityid()
    {
        return cityid;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setAreaid(String areaid)
    {
        this.areaid = areaid;
    }

    public String getAreaid()
    {
        return areaid;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setContact(String contact)
    {
        this.contact = contact;
    }

    public String getContact()
    {
        return contact;
    }
    public void setSendcontacttel(String sendcontacttel)
    {
        this.sendcontacttel = sendcontacttel;
    }

    public String getSendcontacttel()
    {
        return sendcontacttel;
    }
    public void setMobileno(String mobileno)
    {
        this.mobileno = mobileno;
    }

    public String getMobileno()
    {
        return mobileno;
    }
    public void setFax(String fax)
    {
        this.fax = fax;
    }

    public String getFax()
    {
        return fax;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setAddcname(String addcname)
    {
        this.addcname = addcname;
    }

    public String getAddcname()
    {
        return addcname;
    }
    public void setAdddatetime(Date adddatetime)
    {
        this.adddatetime = adddatetime;
    }

    public Date getAdddatetime()
    {
        return adddatetime;
    }
    public void setModifycname(String modifycname)
    {
        this.modifycname = modifycname;
    }

    public String getModifycname()
    {
        return modifycname;
    }
    public void setModifydatetime(Date modifydatetime)
    {
        this.modifydatetime = modifydatetime;
    }

    public Date getModifydatetime()
    {
        return modifydatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("shopid", getShopid())
            .append("companycode", getCompanycode())
            .append("companyname", getCompanyname())
            .append("stockname", getStockname())
            .append("stockcode", getStockcode())
            .append("shopcode", getShopcode())
            .append("shoptype", getShoptype())
            .append("channelcode", getChannelcode())
            .append("shopname", getShopname())
            .append("provinceid", getProvinceid())
            .append("province", getProvince())
            .append("cityid", getCityid())
            .append("city", getCity())
            .append("areaid", getAreaid())
            .append("area", getArea())
            .append("address", getAddress())
            .append("contact", getContact())
            .append("sendcontacttel", getSendcontacttel())
            .append("mobileno", getMobileno())
            .append("fax", getFax())
            .append("email", getEmail())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("addcname", getAddcname())
            .append("adddatetime", getAdddatetime())
            .append("modifycname", getModifycname())
            .append("modifydatetime", getModifydatetime())
            .toString();
    }
}
